package crm.view.setting.listener;

import javax.swing.JSpinner;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;

import crm.model.Setting;

public class TransferPortListener implements ChangeListener {

	public void stateChanged(ChangeEvent e) {
		JSpinner spin = (JSpinner)e.getSource();
		Setting.setTransportPort((Integer)spin.getValue());
	}
}